package com.wangyk.gateway.utils;

import lombok.Getter;

@Getter
public enum ResultEnum
{
    SUCCESS(0, "success"),
    LOGIN_FAILED(1,"登录失败"),
    ROLE_ERROR(2,"角色错误"),
    ERROR(10000,"error"),;
    private Integer code;
    private String message;

    ResultEnum(Integer code, String message)
    {
        this.code = code;
        this.message = message;
    }
}
